#include "cworker_script_cfg.h"

int cworker_script_cfg_init(cworker_script_cfg_t *cfg) {
    return 0;
}

int cworker_script_cfg_clean(cworker_script_cfg_t *cfg) {
    return 0;

}

int cworker_script_cfg_update_local(cworker_script_cfg_t *cfg, wtk_local_cfg_t *main) {
    int ret = -1;

    wtk_local_cfg_t *lc;

    lc = wtk_local_cfg_find_lc_s(main, "train_patslot_product");
    if (lc) {
        ret = wtk_ps_cfg_update_local(&(cfg->train_patslot_product), lc);
    }

    return ret;
}

int cworker_script_cfg_update(cworker_script_cfg_t *cfg) {
    return 0;
}
